Migrate the RAPIDS docs portal while preserving API hosting - #827
Conversation
✅ Deploy Preview for docs-rapids-ai ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
I just went through this PR, and I think we can make a small change in the This workflow publishes at the One idea to resolve this would be to add an optional That would eliminate the need for AWS setup, S3 sync, Akamai dependency installation, flush requests and cleanup which is all done in inline code in the workflow, in favour of using the Happy to open a PR on |
Add an optional `target-s3-exclude` input to the `publish-docs` action Newline separated glob patterns can be passed to the `aws s3 sync` as `--exclude` flags. These paths are neither uploaded or deleted as a result and a subtree published by another workflow can be independent under the same location. Towards [rapidsai/docs#827](rapidsai/docs#827 (comment)), with the aim of publishing the deployment docs separate from the main RAPIDS docs. Authors: - Jaya Venkatesh (https://github.com/jayavenkatesh19) Approvers: - Bradley Dice (https://github.com/bdice) URL: #145
| with: | ||
| source-path: _site | ||
| target-s3-key: datascience | ||
| target-s3-exclude: deployment/* |
| - name: Generate compatibility redirects | ||
| run: | | ||
| uv run python scripts/generate_redirect_site.py \ | ||
| --output _site/_redirects |
There was a problem hiding this comment.
Duplicate Publish portal to NVIDIA docs (and related precursor steps) from deploy.yaml at the end of this workflow, and set dry-run: true. That will perform a dry run of the S3 upload and validate all the flags are sane.
|
These are the things I added in my commit focused mainly on workflow and analytics changes:
|
|
/merge |
Summary
Move the RAPIDS documentation portal to https://docs.nvidia.com/datascience/ while keeping unmigrated API documentation available on
docs.rapids.ai.rapidsai/shared-actions/publish-docs. Excludedeployment/*from uploads and deletions sorapidsai/deploymentretains ownership of that subtree.Rollout checks
docs.rapids.ai.